home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
misc
/
stacksiz.lha
/
stacksize
/
src
/
stacksize.c
Wrap
C/C++ Source or Header
|
1995-09-08
|
256b
|
14 lines
#include <exec/tasks.h>
int main(int argc,char **argv)
{
struct Task *mytask;
int input;
if (argc==2) input=atoi(*++argv);
else exit(5);
mytask=FindTask(0);
if (((int)(mytask->tc_SPUpper)-(int)(mytask->tc_SPLower))<input) exit(5);
else exit(0);
}